home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 June / PCWorld_2007-06_cd.bin / temacd / wikipad / WikidPad-1.9beta2.exe / {app} / WikidPadHelp / data / TextFormatting.wiki < prev    next >
Encoding:
Text File  |  2006-03-24  |  2.5 KB  |  84 lines

  1. ∩╗┐++ Text Formatting
  2.  
  3. As you type you can enter formatting commands in plain text.
  4.  
  5. *bold*
  6. _italic_
  7. + Heading1
  8. ++ Heading2
  9. +++ Heading3
  10. ++++ Heading4
  11.  
  12. When you type in a really really really really really really really really really really really really
  13. long line you can tell wikidPad to rewrap it for you by pressing Ctrl-W. Try it on this line.
  14.  
  15. You can even change the wrap position by adding a wrap attribute to your document.
  16. [wrap: 20]
  17. Changes the wrapping on this page to 20.
  18.  
  19. [global.wrap: 70]
  20. changes the global wrap position to 70.
  21.  
  22. For creating bulleted or numbered lists, see BulletedLists.
  23.  
  24.  
  25. +++ Escaping Formatting
  26.  
  27. ++++ Escaping blocks
  28. To create a section of text with no formatting, wrap that section 
  29. in a "<< >>" block. Example:
  30.  
  31. escape formatting
  32.  
  33. <<
  34. *This should be bold* ThisShouldBeALink
  35. >> 
  36.  
  37. with formatting
  38.  
  39. *This should be bold* ThisShouldBeALink
  40.  
  41. Before and after the begin and end tags only whitespaces are allowed on the same line, so a << in the text does not prevent ALink from being highlighted.
  42.  
  43. ++++ Preformatted blocks
  44.  
  45. You can use <<\pre and >> to enclose blocks which have no special formatting (wiki words, italics) as the default escaping blocks but are shown in HTML as monospaced blocks and have exactly the same formatting as written in the source text.
  46.  
  47. This is helpful especially for programming source code.
  48.  
  49. Example:
  50. <<pre
  51.                       ^
  52.                      / \
  53.                     /   \
  54.                    /_____\
  55.                   (       )
  56.                   |       |
  57.                   |       |
  58.                   |       |
  59.                   |       |
  60.                   L_______j
  61. >>
  62.  
  63.  
  64. ++++ Escaping characters
  65. To escape single characters, prepend them with a backslash. These characters are then interpreted as normal text, the backslash is suppressed in HTML preview and export. If you want to really write a backslash, write two of them: \\.
  66.  
  67. With this, you can write \[brackets] or \*asterisks\* which are not seen as formatting commands by \WikidPad.
  68.  
  69.  
  70. +++ Tables
  71.  
  72. A table is enclosed in <<| and >> tags which must be alone on a line as for format escaping tags.
  73. Each line with text is a table row, cells are separated by |. A table cell can contain wiki word links, bold and italic text. Tables show up properly only in preview mode.
  74.  
  75. Example:
  76.  
  77. <<|
  78. ScratchPad| This is| *a table*
  79. with two| rows and| three columns delimited by \| and \
  80.                                                     with two lines in a cell
  81. >>
  82.  
  83.  
  84.